package com.space;

import com.badlogic.gdx.graphics.Texture;
import com.badlogic.gdx.*;

public class PlayerShip extends Ship  {

	public int player_x = 0;
	public int player_y = 0;
	
	public PlayerShip() {
		
	}
	public PlayerShip(Texture spriteTexture, int spriteHealth) {
		super(spriteTexture, spriteHealth);
		
	}
  
	   public void moveShipDown()
	   {
		
		 this.player_y -= Gdx.graphics.getDeltaTime() * this.getSpriteSpeed();
	   }
	

	public void moveShipUp()
	{
		
		this.player_y += Gdx.graphics.getDeltaTime() * this.getSpriteSpeed();
		 
	}
	
	public void moveShipLeft()
	{
	   this.player_x -= Gdx.graphics.getDeltaTime() * this.getSpriteSpeed();
		 
	}

	public void moveShipRight()
	{
		  this.player_x += Gdx.graphics.getDeltaTime() * this.getSpriteSpeed();
		 
	}
	

}
